<template>
  <div>
    <div class="forgot-panel">
      <div class="success-result">
        <i class="fa fa-check-circle" aria-hidden="true"></i> <span>{{ $root.lang.forgot.success }}</span>
      </div>
      <el-button class="login-btn" type="primary" @click="toLogin">{{ $root.lang.forgot.btn }}</el-button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    }
  },
  methods: {
  	toLogin() {
      window.location.href = '/home'
  	}
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
@import '@/css/style.scss';
.forgot-panel {
  position: relative;
  margin: 30px auto 0;
  padding: 100px 50px;
  width: 600px;
  background-color: #ffffff;
  .success-result {
    margin-bottom: 40px;
    font-size: 20px;
    .fa-check-circle {
      margin-right: 10px;
      font-size: 30px;
      color: $color-success;
    }
    * {
      vertical-align: middle;
    }
  }
  .login-btn {
    width: 40%;
  }
}
</style>
